package structure.proxy.staticProxy;

import structure.proxy.staticProxy.daos.TeacherDao;
import structure.proxy.staticProxy.daos.TeacherDaoProxy;

public class User {
    public static void main(String[] args) {
        TeacherDao teacherDao = new TeacherDao();
        TeacherDaoProxy daoProxy = new TeacherDaoProxy(teacherDao);
        daoProxy.teach();
    }
}
